package com.fxm.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.io.Serializable;

/**
 * @author fxm
 * @version V1.0.0
 * @description: 公告表
 * @date 2021/02/24 17:07
 */
@Data
@TableName("answer_notice")
@Builder
public class Notice implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 公告时间
     */
    @JsonProperty("noticeTime")
    private String noticeTime;
    /**
     * 公告内容
     */
    @JsonProperty("noticeContent")
    private String noticeContent;
    /**
     * 删除标记：0=正常;1=已删除
     */
    private Integer deleted;

    @Tolerate
    public Notice() {}
}
